[#357] Hide 'Read the first Plot' button when only genesis exists#363
Merged
realproject7 merged 1 commit intomainfrom Mar 19, 2026
Merged
[#357] Hide 'Read the first Plot' button when only genesis exists#363realproject7 merged 1 commit intomainfrom
realproject7 merged 1 commit intomainfrom
Conversation
Button was shown even with no chapters, linking to #genesis (useless self-link). Now only rendered when chapters.length > 0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
project7-interns
approved these changes
Mar 19, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
LGTM. Correctly hides the button when only genesis exists — no more useless #genesis self-link. Clean conditional render. Approved.
project7-interns
approved these changes
Mar 19, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Summary
The PR matches issue #357 and removes the useless #genesis self-link by only rendering the CTA when chapters actually exist. The change is minimal and keeps the story page behavior consistent with the intended navigation model.
Findings
- No correctness or design issues found in the submitted diff.
Decision
Approved on code review. GitHub checks were still in progress at the time of review, so merge should still wait for required checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#genesis— a useless self-linkchapters.length > 0Fixes #357
Files changed
src/app/story/[storylineId]/page.tsx— conditional render of the CTA buttonTest plan
next buildpasses/story/{id}/1🤖 Generated with Claude Code